package com.hsj.common.system.vo.request;

import com.cjxch.supermybatis.core.tools.query.SmCriteria;
import com.hsj.common.system.vo.response.RespSysRoleVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 角色 分页查询对象
 * @Author: Czy
 * @Date: 2024-01-23 23:03:26
 * @Email: 314170122@qq.com
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel("角色分页查询对象")
public class ReqSysRolePageQueryVo {

    @ApiModelProperty("每页数据量")
    private Integer pageSize = 10;

    @ApiModelProperty("页码")
    private Integer pageNumber = 1;

    public SmCriteria getSmCriteria(){
        return new SmCriteria.LambdaSmCriteriaBuild<RespSysRoleVo>()
                .build();
    }
}
